import React, {Component} from 'react';
import {Select, Input, Button} from 'antd';
import MySelect from './MySelect';
import './Searchs.scss';

const {Option} = Select;
const {Search} = Input;

class Searchs extends Component {


  onChange = value => {
    console.log(`selected ${value}`);
  };

  render() {
    return (
      <div className='codeSearchs'>
        <Search
          placeholder="请输入物料编码"
          onSearch={this.props.onSearchValue}
          style={{width: 200}}
        />
      </div>
    );
  }

}

export default Searchs;
